/*
 * TestDriver.java
 *
 * Created on November 18, 2007, 3:18 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.drivers;

import edu.sql.OracleConnector;
import java.util.Iterator;
import java.util.List;

/**
 *
 * @author joseacuna-rohter
 */
public class TestDriver {
    
    public static void main(String[] args){
       
        Iterator rIt; 
        OracleConnector oc = new OracleConnector();    
        List resultList;
        
        resultList = oc.Select("CARS",2);
        
        rIt = resultList.iterator();
        
        while(rIt.hasNext())
            System.out.println(rIt.next().toString());
        
        resultList = oc.Select("CARS","YEAR_MADE");
       
        rIt = resultList.iterator();
        while(rIt.hasNext())
            System.out.println(rIt.next().toString());
        
       // oc.ExecuteInsert("STATUSLIST","'TEST2'");
        
        
        oc.CloseCon();
    }
    
    
}
